﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MaLu.Data;

namespace MaLu.Framework.BusiLogic
{
    public class BLVillage
    {
       public static DataSet VGetAlert(IDbProvider provider, int year, int quarter)
        {
            List<IDataParameter> paraList = new List<IDataParameter>();
            paraList.Add(SqlHelper.Instance.CreateParameter("@Year", DataType.Int32, 8, year));
            paraList.Add(SqlHelper.Instance.CreateParameter("@Quarter", DataType.Int32, 8, quarter));

            DataSet ds = SqlHelper.Instance.ExecuteProcedure(provider, "Proc_VGetAlert", paraList.ToArray());
            return ds;
        }
    }
}
